#define _CRT_SECURE_NO_WARNINGS	1
#include "Heap.h"
int main()
{
	HP php;
	HeapInit(&php);
	int a[] = { 65,21,44,12,98,5 };
	for (int i=0;i<sizeof(a)/sizeof(int);i++)
	{
		HPPush(&php, a[i]);
	}
	while (!HPEmpty(&php))
	{
		int top = HPTop(&php);
		printf("%d", top);
		HPPop(&php);
	}
	return 0;
}